<UserControl x:Class="WPFExcelReport.UQPXS1"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
              xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    Background="White"   
      >
    <UserControl.Resources>
         <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTConverter x:Key="not"/> 
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby10000  x:Key="dw"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </UserControl.Resources> 
    <Grid >
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
        </Grid.RowDefinitions> 
        <Grid  Grid.Column="0" Grid.Row="1" Margin="0,5,0,0" >
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
            </Grid.ColumnDefinitions>

            <Grid  Grid.Column="0" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="80"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=支数值:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X001, Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid  Grid.Column="1" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="120"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=纱支折算系数:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X002, Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid  Grid.Column="2" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="90"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=实际号数:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X003,Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid  Grid.Column="3" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="110"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=回潮率%:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X004,Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid  Grid.Column="4" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="100"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=重量偏差:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="True"
                                    Text="{Binding X005,Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid  Grid.Column="5" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="110"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=实际支数:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="True"
                                    Text="{Binding X006,Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid  Grid.Column="6" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="80"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=重量CV%:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X007,Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
        </Grid>
        <Grid Name="XS1"  Grid.Column="0" Grid.Row="2" Margin="0,5,0,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
            </Grid.ColumnDefinitions>

            <Grid Grid.Column="0" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="80"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=条干CV%:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X008, Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid Grid.Column="1" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="120"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=细节-50%:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X009, Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid Grid.Column="2" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="90"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=粗节+50%:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X010,Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid Grid.Column="3" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="110"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=棉结+140%:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X011,Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid Grid.Column="4" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="100"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=棉结+200%:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X012,Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid Grid.Column="5" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="110"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=棉结+280%:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X013,Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid Grid.Column="6" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="80"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=毛羽H:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="2"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X014,Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
        </Grid>
        <Grid Name="XS3"  Grid.Column="0" Grid.Row="3" Margin="0,5,0,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
                <ColumnDefinition Width="1*"></ColumnDefinition>
            </Grid.ColumnDefinitions>

            <Grid  Grid.Column="0" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="80"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=单强CN:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X015, Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid Grid.Column="1" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="120"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=最小强力CN:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X016, Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid Grid.Column="2" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="90"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=单强CV%:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10"  DecimalPlaces="1"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X017,Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid Grid.Column="3" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="110"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=强度CN/TEX:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="True"
                                    Text="{Binding X018,Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid Grid.Column="4" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="100"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=断裂伸长E:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X019,Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid Grid.Column="5" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="110"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=捻度T/10CM:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X020,Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
            <Grid Grid.Column="6" >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="80"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=捻度CV%:}}"></TextBlock>
                <ex:NumericBox  Grid.Column="1"  MaxLength="10" DecimalPlaces="1"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X021,Converter={StaticResource gb2312}}" Width="60" />
            </Grid>
        </Grid>
        <Grid Name="dQT"  Grid.Column="0" Grid.Row="4" Margin="0,5,0,30">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="80"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock  Grid.Column="0" Text="{Binding Source={Localization:Translate Word=备注:}}"></TextBlock>
            <ex:TXT72  Grid.Column="1"  MaxLength="40"
                                     IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"
                                    Text="{Binding X050, Converter={StaticResource gb2312}}" Width="500" />
        </Grid>
    </Grid>
</UserControl>
